package com.bf.electroplating.pojo.dto.contingencyplan;

import com.bf.electroplating.pojo.vo.attachment.AttachmentVo;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@Schema (description = "应急预案DTO")
public class ComContingencyPlanDTO {

	@Schema ( description = "id" )
	private String id;

	@Schema ( description = "企业ID" )
	@NotBlank ( message = "企业不能为空")
	private String companyId;

	@Schema ( description = "企业名称" )
	private String companyName;

	@Schema ( description = "备案时间" )
	@NotNull ( message = "备案时间不能为空" )
	private Date recordTime;

	@Schema ( description = "附件" )
	private List < AttachmentVo > attFile;

}
